#!/usr/local/bin/python3
# -*- coding: UTF-8 -*-
"""
@author:apple
@file:ThreadDemo01.py
@time:2021/09/17
"""
import threading
from threading import Thread
import dis

class MyThread(Thread):
    ...
    def run(self) -> None:
        ...
        local = threading.Lock()
        print('1111')
        with local:
            ...


if __name__ == '__main__':
    pass
    # t = MyThread()
    # t.start()
    dis.dis(MyThread)